<?php use_javascript('jquery-ui-1.8.16.custom.min.js') ?>
<?php use_stylesheet('jqueryui/jquery-ui-1.8.16.custom.css') ?>
<div class="add_teacher_wrapper add_teacher_page">
    <h1 class="header"><?php echo __('Adding teacher form page') ?></h1>
    <?php echo form_tag_for($form, 'teacher/add') ?>
    <?php if (isset($notice)) { ?>
        <div class="notice">
            <?php echo __($notice) ?>
        </div>
    <?php } ?>
    <?php if (isset($error)) { ?>
        <div class="errorf">
            <?php echo __($error) ?>
        </div>
    <?php } ?>
    <table width="100%">
        <?php echo $form ?>
        <tr>
            <td colspan="2" align="left" class="submit_btn">
                <button><?php echo __('Save') ?></button>
            </td>
        </tr>
    </table>

</form>
</div>
<script type="text/javascript">
    $('button').button();
    //    $('#teacher_work_date').datepicker({ yearRange: '1400:1500' });
</script>
